import { units } from '@library';


export async function getSource(url: string, query?: object) {
  try {
    const res = await units.serverLoading(url, { ...query });
    return res;
  } catch (error) {
    return false;
  }
}
